Calendar All Tests
Current file: /home/estudydev/workspace/eStudy_svn/web/courses/classes/class.assistControll.inc.php
Legend: executed not executed dead code

  Coverage
  Classes Methods Lines
Total
0.00 %0.00%
0.00% 0 / 1
0.00 %0.00%
0.00% 0 / 4
0.00 %0.00%
0.00% 0 / 11
 
AssistController
0.00 %0.00%
0.00% 0 / 1
0.00 %0.00%
0.00% 0 / 4
0.00 %0.00%
0.00% 0 / 11
 public static function getAssist()
0.00 %0.00%
0.00% 0 / 1
0.00 %0.00%
0.00% 0 / 1
 public static function setAssist($value)
0.00 %0.00%
0.00% 0 / 1
0.00 %0.00%
0.00% 0 / 2
 public static function callSettings($settings)
0.00 %0.00%
0.00% 0 / 1
0.00 %0.00%
0.00% 0 / 2
 public static function callModulSettings($courseId)
0.00 %0.00%
0.00% 0 / 1
0.00 %0.00%
0.00% 0 / 6


       1                 : <?php                                                                               
       2                 : /*--------------------------------------------------------------------------+       
       3                 : This file is part of eStudy.                                                        
       4                 : admin/index.php                                                                     
       5                 : - Modulgruppe:  Veranstaltung                                                       
       6                 : - Beschreibung: Klasse zum steuern der Assistens-Sicht beim Anlegen eines Kurses    
       7                 : - Version:      1.0, 18/01/09                                                       
       8                 : - Autor(en):    Markus Wötzel <markus.woetzel@mni.fh-giessen.de>                   
       9                 : +---------------------------------------------------------------------------+       
      10                 : This program is free software; you can redistribute it and/or                       
      11                 : modify it under the terms of the GNU General Public License                         
      12                 : as published by the Free Software Foundation; either version 2                      
      13                 : of the License, or any later version.                                               
      14                 : +---------------------------------------------------------------------------+       
      15                 : This program is distributed in the hope that it will be useful,                     
      16                 : but WITHOUT ANY WARRANTY; without even the implied warranty of                      
      17                 : MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the                       
      18                 : GNU General Public License for more details.                                        
      19                 : You should have received a copy of the GNU General Public License                   
      20                 : along with this program; if not, write to the Free Software                         
      21                 : Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.         
      22                 : +--------------------------------------------------------------------------*/       
      23                 :                                                                                     
      24                 : /** relativer Pfad zum Root des Portals*/                                           
      25                 : /***/                                                                               
      26                 : // define("PATH_TO_ROOT", "../");                                                   
      27                 : /**                                                                                 
      28                 :  * kann nicht noch mal gesetzt werden                                               
      29                 :  * da es bereits im Controller gesetzt wird.                                        
      30                 :  */                                                                                 
      31                 :                                                                                     
      32                 : /** SettingsDialog*/                                                                
      33                 : require_once(PATH_TO_ROOT."courses/classes/class.SettingsDialog.inc.php");          
      34                 : /**ModulgruppenConfiguration*/                                                      
      35                 : require_once(PATH_TO_ROOT."courses/classes/class.ModulegroupConfiguration.inc.php");
      36                 :                                                                                     
      37                 : class AssistController {                                                            
      38                 :                                                                                     
      39                 :     static public  $assist = 0;                                                     
      40                 :                                                                                     
      41                 :     static public function getAssist() {                                            
      42               0 :         return AssistController::$assist;                                           
      43                 :     }                                                                               
      44                 :                                                                                     
      45                 :     static public function setAssist($value) {                                      
      46               0 :         $assist = $value;                                                           
      47               0 :     }                                                                               
      48                 :                                                                                     
      49                 :     static public function callSettings($settings) {                                
      50               0 :         new SettingsDialog($settings, true);                                        
      51               0 :     }                                                                               
      52                 :                                                                                     
      53                 :     static public function callModulSettings($courseId) {                           
      54               0 :         $config = new ModulegroupConfiguration($courseId);                          
      55               0 :         $config->setModuleGroupsDefault();                                          
      56               0 :         $config->echoAssistDesc();                                                  
      57               0 :         $config->echoModulegroupsForm();                                            
      58               0 :         AssistController::$assist = 0;                                              
      59               0 :     }                                                                               
      60                 : }                                                                                   

Generated by PHPUnit 3.2.21 and Xdebug 2.0.3 at Thu Nov 26 17:01:15 CET 2009.